package com.gwm.user.service;


import com.baomidou.mybatisplus.extension.service.IService;
import com.gwm.user.entity.TbUser;
import com.gwm.user.dto.UserDTO;


/**
 * <p>
 * 用户表 服务类
 * </p>
 *
 * @author heima
 * @since 2020-12-01
 */

public interface TbUserService extends IService<TbUser> {

    Boolean checkData(String data, Integer type);

    void sendCode(String phone);

    void register(TbUser user, String code);

    UserDTO queryUserByUsernameAndPassword(String username, String password);

}
